package fr.nts.framework.database.test.jpa.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import fr.nts.framework.database.jpa.dao.AJPADao;
import fr.nts.framework.database.test.jpa.model.JpaTestModel;

@Component
public class JpaModelTestDao extends AJPADao<JpaTestModel, Long>{

	private final static transient Logger log = LoggerFactory.getLogger(JpaModelTestDao.class);
	
	/*
	 * (non-Javadoc)
	 * @see fr.nts.framework.database.jpa.dao.AJPADao#getBoClass()
	 */
	@Override
	protected Class<JpaTestModel> getBoClass(){
		return JpaTestModel.class;
	}
	

	// GETTER / FLUX
	public Logger getLog(){
		return log;
	}
}